INCLUDE_DIR=./include/
TARGET = target

DFLAGS = -DDEBUG_ON
#DFLAGS += -DPRIVATE_BASE64

$(TARGET):src/main.o util/base64.o
	gcc $^ $(DFLAGS) -o $@

src/main.o:src/main.c
	gcc $^ -I$(INCLUDE_DIR) $(DFLAGS) -c -o $@

util/base64.o:util/base64.c
	gcc $^ -I$(INCLUDE_DIR) $(DFLAGS) -c -o $@

.PHONY:clean
clean:
	rm src/*.o util/*.o -rf
